package com.borrowed.book.book.entity.domain.vo;

import io.swagger.annotations.ApiModelProperty;

public class PayOrderBaseInVo {
    @ApiModelProperty(value ="优惠券ID",dataType = "Long")
    private Long couponId;

    @ApiModelProperty(value="是否使用优惠券",dataType = "Boolean")
    private Boolean useCoupon;


    public Boolean getUseCoupon() {
        return useCoupon==null?true:useCoupon;
    }

    public void setUseCoupon(Boolean useCoupon) {
        this.useCoupon = useCoupon;
    }


    public Long getCouponId() {
        return couponId;
    }

    public void setCouponId(Long couponId) {
        this.couponId = couponId;
    }
}
